﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CokAracliKontrol.PathFinding
{

    class SquareContent
    {
        public const int FreePath = 0;
        public const int Obstacle = 1;
        public const int BaseStart = 3000;
        public const int BaseFinish = 6000;

        public static int StartLocation(int vehicleID)
        {
            return BaseStart + vehicleID;
        }

        public static int FinishLocation(int vehicleID)
        {
            return BaseFinish + vehicleID;
        }
    }

    class CompleteSquare
    {
        int _contentCode = SquareContent.FreePath;
        public int ContentCode
        {
            get { return _contentCode; }
            set { _contentCode = value; }
        }

        int _distanceSteps = Pathfinder.bigNumber - 1;
        public int DistanceSteps
        {
            get { return _distanceSteps; }
            set { _distanceSteps = value; }
        }

        bool _isPath = false;
        public bool IsPath
        {
            get { return _isPath; }
            set { _isPath = value; }
        }
    }
}
